package com.demo.reservation.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

@Data
public class QueryParam {
    protected int page = 1;
    protected int pageSize = 15;

    public Page getPageParam() {
        return Page.of(page , pageSize);
    }
}
